POV-Ray : Newsgroups : povray.binaries.images : concept to visualization II : concept to visualization II Server Time
1 Oct 2024 11:25:00 EDT (-0400)
  concept to visualization II  
From: Matt Giwer
Date: 21 Aug 2000 00:10:17
Message: <39A0AC2E.E382972B@ij.net>
I took the advice and instead of using a mesh created a .tga
file. The attached file shows the format and how to do it.
(Pardon my french in the code.) The image is for 2000 iterations
before creating the image file for rendering which is the third
attachment. And file 3 brings it all together. 

	And yes, this approach is much less strain on the system. But
even this way under linux it crashes graphics terminals so I have
to run in under a text terminal. The procedure output creates a
file to include in a mesh object if you want to compare the
strain on your machine. The procedure ouput_tga creates the
uncompressed targa file to use in array3.pov. 

	If you are interested in order out of randomness, the procedure
where the rules are defined is average_array. Implemented is the
simplest average, the new value is the eight contiguous points
and its old self divide by nine points. 

X X X
X O X  sum/9 = New value in the Old position
X X X 

	If you know any programming at all this should be easy to change
to your interests. Don't forget to post interesting things.
Remember not to go negative or greater than 257. 

	Yes, I know, p*** poor documentation on the fly. All questions
will be answered. 

==

Notes 

	Search www.google.com for free pascal and download it for most
any platform and OS combination. It is a clone of Turbo Pascal
7.0 (tpx) with extensions (units) to let you do socket, cgi, all
the internet programming stuff if you wish. 

	3 should be easily convertable into a batch file possibly
without any change other than renaming it 3.bat and it is nothing
but a a convenience rather than a complex script. Of course this
will require the DOS version of povray. 

	This runs on Redhat linux 6.1b PII 333MHz 128M. 

-- 
How many Palestinians will we murder because
Hillary needs the jewish vote? 
     -- The Iron Webmaster, 20


Post a reply to this message


Attachments:
Download 'array3-2000.jpg' (71 KB) Download 'us-ascii' (5 KB) Download 'us-ascii' (2 KB) Download 'us-ascii' (1 KB)

Preview of image 'array3-2000.jpg'
array3-2000.jpg

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.